package com.hj.demo;

public class Test1 extends A{
    Test1(String a){
        System.out.println("B");
    }
    public static void main(String[] args) {
        Test1 test1 = new Test1("A");
    }
}
class A{
    A(){
        System.out.println("A");
    }
}